<div class="user">

<h1><? __('USERS_EDIT_TITLE'); ?></h1>

<?php echo $form->create('User',array('action'=>'edit'));?>
	<? echo $form -> input('id'); ?>
	<? echo $form -> hidden('password_old'); ?>

	<div class="input_line">
		<div class="input_text">
		<? echo $form -> label('User.login',__('USERS_LOGIN',true)); ?>
		</div>
		<? echo $form -> input('User.login',array('label'=>false,'div'=>false,'disabled'=>'disabled')); ?>
	</div>
	 
	<div class="input_line">
		<div class="input_text">
		<? echo $form -> label('User.name',__('USERS_NAME',true)); ?>
		</div>
		<? echo $form->input('User.name',array('label'=>false,'div'=>false)); ?>
		<a href="#" onclick="Effect.toggle('password','appear'); return false;"><? __('USERS_CHANGE_PASSWORD'); ?></a>
	</div>
	
	<div id="password" style="display: none;">
	<div class="input_line">
		<div class="input_text">
		<? echo $form -> label('User.password',__('USERS_PASSWORD',true)); ?>
		</div>
		<? echo $form->input('User.password',array('value'=>'','label'=>false,'div'=>false)); ?>
	</div>
	
	<div class="input_line">
		<div class="input_text">
		<? echo $form -> label('password_2',__('USERS_PASSWORD_AGAIN',true)); ?>
		</div>
		<? echo $form->input('password_2',array('type'=>'password','value'=>'','label'=>false,'div'=>false)); ?>
	</div>
	</div>
	<div class="input_line">
		<div class="input_text">
		<? echo $form -> label('User.email',__('USERS_EMAIL',true)); ?>
		</div>
		<? echo $form->input('User.email',array('label'=>false,'div'=>false)); ?>
	</div>
	
	<div class="input_line">
		<div class="input_text">
		<? echo $form -> label('User.info_email',__('USERS_INFO_EMAIL',true)); ?>
		</div>
		<? echo $form->checkbox('User.info_email'); ?>
	</div>
	
	<div class="input_line">
		<div class="input_text">
		&nbsp;
		</div>
	<?php echo $form-> submit(__('SEND',true));?>
	</div>
</form>

</div>